package com.jiuair.cloud.data.revenue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiuair.cloud.data.revenue.mybatis.base.entity.AbstractEntity2;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 *
 *
 * @author deng
 * @date 2020-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("usr_role")
@ApiModel(value="UsrRole对象", description="")
public class UsrRole extends AbstractEntity2 {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户角色id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String code;

    private String name;

    private String description;

    private String usertype;


}
